package mutsumimod.cards.custom;

import com.megacrit.cardcrawl.actions.common.RemoveSpecificPowerAction;
import com.megacrit.cardcrawl.cards.AbstractCard;
import com.megacrit.cardcrawl.characters.AbstractPlayer;
import com.megacrit.cardcrawl.monsters.AbstractMonster;
import com.megacrit.cardcrawl.powers.AbstractPower;
import com.megacrit.cardcrawl.powers.DexterityPower;
import mutsumimod.actions.deprecated.MagicCatAction;
import mutsumimod.cards.BaseCard;
import mutsumimod.character.Mutsumi;
import mutsumimod.util.CardStats;

public class MagicCat extends BaseCard {
    public static final String ID = makeID(MagicCat.class.getSimpleName());
    public static final CardStats info = new CardStats(
            Mutsumi.Meta.CARD_COLOR,
            CardType.SKILL,
            CardRarity.COMMON,
            CardTarget.SELF,
            1
    );

    public MagicCat() {
        super(ID, info);
        setAttr(0,5,1);
        setAttrUpg(0,2,1);
    }

    @Override
    public void use(AbstractPlayer p, AbstractMonster m) {
        gainBlock();
        for(int i=0;i<magicNumber;i++){
            addToBot(new MagicCatAction());
        }

    }

    @Override
    public AbstractCard makeCopy() { //Optional
        return new MagicCat();
    }
}
